// $(document).ready(function () {
$.ajax({
    url: serverApi3 + "/order/findO9OrderXq?id=" + $.cookie("tempId"),
    type: "POST",
    success: function (result) {
        if (result.code === 200) {
            //赋值
            $(".createTime").html(result.data.createTime)
            $(".appointmentStime").html(result.data.appointmentStime)
            $(".stat").html(result.data.stat)
            $(".deptName").html(result.data.deptName)
            $(".doctorName").html(result.data.doctorName)
            $(".yyName").html(result.data.yyName)
        } else {
            layer.msg("请求失败", {icon: 7, anim: 6});
        }
    }, error: function (result) {
        layer.alert('此订单已被删除', function(index){
            //do something
            parent.layer.closeAll("iframe")
        });
    }
});
// });